#ifndef __SCSERIAL_H__
#define __SCSERIAL_H__

#include <unistd.h>

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>

//硬件接口函数
int writeSCS(uint8_t *nDat, int nLen);
int writeByteSCS(unsigned char bDat);
int readSCS(uint8_t *nDat, int nLen);
int readSCSTimeOut(uint8_t *nDat, int nLen, uint32_t TimeOut);
void rFlushSCS(void);
void wFlushSCS(void);

#ifdef __cplusplus
}
#endif


#endif // __SCSERIAL_H__
